//  [9/16/2013 OMEGA] created

#ifndef _DUELASSEEDITARCHIVEINGROUPDLG_H_
#define _DUELASSEEDITARCHIVEINGROUPDLG_H_

#include <QtWidgets/QDialog>
#include "DuelAssEDualColumnSelectView.h"
#include "ui_DuelAssEEditArchiveInGroupDlg.h"

class DAssEEditArchiveInGroupDlg : public QDialog
{
	Q_OBJECT
public:
	DAssEEditArchiveInGroupDlg(QWidget* parent = 0);

	void		setGroupName(const QString& groupName);

	void		setAvailableArchives(const QStringList& availableArchs);

	void		setArchivesOfGroup(const QStringList& archOfGrp);

	// override : QDialog
	int			exec();

	const QStringList&		getAcceptedArchiveList() { return mObjectView.getRigthItems(); }
protected:
	Ui::EditArchiveInGroupDlg	ui;
	DAssEDualColumnSelectView	mObjectView;
	QStringList				mAvailableArchs;
	QStringList				mGroupArchives;
};

#endif